package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @author Zwnan
 */
@FeignClient(value = "sms-platform-cache")

public interface CacheFeign {
    @RequestMapping(value = "/cache/hmget/{key}",method = RequestMethod.GET)
    Map hMap(@PathVariable(value = "key") String key);

}
